package com.hddx.Dao;

import com.hddx.domain.Student;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

@Repository("studentdao")
//@Component("studentdao")
public class StudentDaoImpl implements StudentDao{
    @Override
    public void queryStudent() {
        Student student = new Student();
        student.setId(30);
        student.setName("张三");
        student.setPassword("123456");
        System.out.println(student);
    }
}
